package com.yangyang.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class QueryVo {

    private String colum;

    private String minText;

    private String maxText;

    private String col;

    private String contest;

    private String context;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date minDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date maxDate;

    @Override
    public String toString() {
        return "QueryVo{" +
                "colum='" + colum + '\'' +
                ", minText='" + minText + '\'' +
                ", maxText='" + maxText + '\'' +
                ", col='" + col + '\'' +
                ", contest='" + contest + '\'' +
                ", context='" + context + '\'' +
                ", minDate=" + minDate +
                ", maxDate=" + maxDate +
                '}';
    }

    public String getColum() {
        return colum;
    }

    public void setColum(String colum) {
        this.colum = colum;
    }

    public String getMinText() {
        return minText;
    }

    public void setMinText(String minText) {
        this.minText = minText;
    }

    public String getMaxText() {
        return maxText;
    }

    public void setMaxText(String maxText) {
        this.maxText = maxText;
    }

    public String getCol() {
        return col;
    }

    public void setCol(String col) {
        this.col = col;
    }

    public String getContest() {
        return contest;
    }

    public void setContest(String contest) {
        this.contest = contest;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Date getMinDate() {
        return minDate;
    }

    public void setMinDate(Date minDate) {
        this.minDate = minDate;
    }

    public Date getMaxDate() {
        return maxDate;
    }

    public void setMaxDate(Date maxDate) {
        this.maxDate = maxDate;
    }

    public QueryVo() {
    }

    public QueryVo(String colum, String minText, String maxText, String col, String contest, String context, Date minDate, Date maxDate) {
        this.colum = colum;
        this.minText = minText;
        this.maxText = maxText;
        this.col = col;
        this.contest = contest;
        this.context = context;
        this.minDate = minDate;
        this.maxDate = maxDate;
    }
}
